<?php

class Core_Model_Promotion_Ad extends Dcmp_Model_Status {

    public function __construct() {
        parent::__construct();
    }

    protected function initializeTable($table) {
        $table->setName('{t}promotion_ad');
        $table->createColumn('id', 'integer', TRUE, TRUE);
        $table->createColumn('title', 'string');
        $table->createColumn('url', 'string');
        $table->createColumn('type', 'string');
        $table->createColumn('picture', 'string');
        $table->createColumn('flash', 'string');
        $table->createColumn('effect', 'string');
        $table->createColumn('start_time', 'datetime');
        $table->createColumn('end_time', 'datetime');
        $table->createColumn('position', 'string');
        $table->createColumn('introduction', 'string');
        parent::initializeTable($table);
    }

}